package com.itheima.domain;

public class Teacher extends Person{
    public Teacher() {
    }

    public Teacher(int id, String name, String sex, String birthday, int age) {
        super(id, name, sex, birthday, age);
    }

    @Override
    public String getType() {
        String s= "教师";
        return s;
    }

    @Override
    public String getWork() {
        String s = "教书育人";
        return s;
    }

}
